<?php

namespace Database\Seeders;

use App\Models\User;
use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\Hash;

class UserSeeder extends Seeder
{
    /**
     * Run the database seeds.
     */
    public function run(): void
    {
        User::factory()->create(
            [
                'email' => 'new@gmail.com',
                'email_verified_at' => now(),
                'password' => Hash::make('SomePass'),
                'role' => 'admin',
            ]
        );
    }
}
